<?php
class TestaController extends Uuch_BaseController{

    public function init() {

       
        $userid = $this->currentUser()->Id;

        $uCount = array();

        

       

        
        //订单总数
        $uCount["order"] = Application_Model_Order::getUncomplate($userid);
        


        

        //上门取件
        $utemp = Application_Model_VisitingServer::getCountByUserId($userid);
        if ($utemp == null) {
            $utemp = 0;
        }
        $uCount["visiting"] = $utemp;
        $this->view->uCount = $uCount;
    }

    

    
	
	public function testAction() {
		 $this->_helper->layout()->setLayout('layout2');
	}
	

}